package org.ww.product.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.ww.common.to.SkuFullReductionTo;
import org.ww.common.to.SpuBoundsTo;
import org.ww.common.utils.R;

/**
 * @program: gmall
 * @description: 积分服务远程接口
 * @author: ww
 * @create: 2024-01-31 14:05
 **/
@FeignClient("gmall-coupon")
public interface CouponFeignService {

    @PostMapping("/coupon/spubounds/save")
    R spuBoundsSave(@RequestBody SpuBoundsTo spuBoundsTo);

    @PostMapping("/coupon/skufullreduction/save-info")
    R saveFullReduction(SkuFullReductionTo skuFullReductionTo);
}
